/**
* @ProjectName: ShopSytem
* @Title: IAdminDao.java 
* @Package com.element5th.shop.dao.admin 
* @Description: 
* @author 第五元素小组   
* @date 2012-10-26 10:27:21 
* @version V1.0   
*/ 
package com.element5th.shop.dao.admin;

import java.util.List;

import com.element5th.shop.comm.BusinessException;
import com.element5th.shop.comm.SystemException;
import com.element5th.shop.dto.BaseDto;

/**
 * The Interface IAdminDao.
 */
public interface IAdminDao {
	
	/**
	 * Admin login.
	 * 
	 * @param dto
	 * @return the base dto
	 * @throws BusinessException 
	 * @throws SystemException 
	 */
	public BaseDto adminLogin(BaseDto dto) throws SystemException, BusinessException;
	
	/**
	 * Adds the admin.
	 * 
	 * @param dto
	 * @return true, if successful
	 */
	public boolean addAdmin(BaseDto dto);
	
	/**
	 * Admin list.
	 * 
	 * @return the list
	 */
	public List<BaseDto> adminList();
	
	/**
	 * Adds the limit.
	 * 
	 * @param dto
	 * @return true, if successful
	 */
	public boolean addLimit(BaseDto dto);
	
	/**
	 * Removes the limit.
	 * 
	 * @param dto
	 * @return true, if successful
	 */
	public boolean removeLimit(BaseDto dto);
}
